package com.frontop.system.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author YangBoos
 * @title: NacosConfig
 * @projectName frontop-cloud
 * @description: TODO
 * @date 2021/12/16 10:58
 */
@RefreshScope
@Configuration
@Data
public class NacosConfig {
    @Value("${base.uploadPath}")
    private String uploadPath;

    @Value("${base.projectPath}")
    private String projectPath;

    @Value("${base.projecrUrl}")
    private String projecrUrl;

    @Value("${base.isOpenLog}")
    private boolean isOpenLog;
}
